package com.weimob.mcloud.wechatwork.customer.service.user.module.bo.group;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author liuzhu.chen
 * @desc 客户群列表信息
 * @date 2021-10-28
 */
@Data
public class CorpChatGroupListBO implements Serializable {
    private static final long serialVersionUID = 8906265229706124525L;

    /**
     * 群名
     */
    @ExcelProperty(value = "群名称")
    @ColumnWidth(20)
    private String name;

    /**
     * 群主名称
     */
    @ExcelProperty(value = "群主")
    @ColumnWidth(15)
    private String ownerName;

    /**
     * 群主所属部门
     */
    @ExcelProperty(value = "群主所属部门")
    @ColumnWidth(15)
    private String department;


    @ExcelProperty(value = "归属门店")
    @ColumnWidth(20)
    @ApiModelProperty("归属门店名称")
    private String retailStoreName;

    /**
     * 群人数(总数)
     */
    @ExcelProperty(value = "群人数")
    @ColumnWidth(15)
    private Integer num;

    /**
     * 群创建时间
     */
    @ExcelProperty(value = "创建时间")
    @ColumnWidth(20)
    private Date groupCreateTime;

    /**
     * 群组状态 0-正常 1-解散
     */
    @ExcelProperty(value = "群状态")
    @ColumnWidth(20)
    private String groupState;

    /**
     * 群ID
     */
    @ExcelIgnore
    private String chatId;

    /**
     * 群主
     */
    @ExcelIgnore
    private String owner;

    /**
     * 群主激活状态 1=已激活，2=已禁用，4=未激活，5=退出企业
     */
    @ExcelIgnore
    private Integer ownerStatus;

    /**
     * 群主头像
     */
    @ExcelIgnore
    private String ownerAvatar;

    /**
     * 群公告
     */
    @ExcelIgnore
    private String notice;

    /**
     * 客户数
     */
    @ExcelIgnore
    private Integer externalUserNum;

    /**
     * 客户数(有unionid的数量)
     */
    @ExcelIgnore
    private Integer validExternalUserNum;

    /**
     * 群组状态 0-正常 1-解散
     */
    @ExcelIgnore
    private Integer state;

    /**
     * 客户最新进群时间
     */
    @ExcelIgnore
    private Date joinTime;

    /**
     * 群人数是否已满  true-已满 false-未满
     */
    @ExcelIgnore
    private Boolean isFull;

    @ExcelIgnore
    @ApiModelProperty("归属门店id")
    private String retailStoreId;

    @ExcelIgnore
    @ApiModelProperty("群主是否绑定导购")
    private Boolean haveBindGuide;

    /**
     * 群内客户数
     */
    private Integer customerNum;

    /**
     * 当日入群
     */
    private Integer joinNum;

    /**
     * 当日退群
     */
    private Integer quitNum;

    /**
     * 非企微好友数
     */
    private Integer noFriendNum;

    /**
     * 授权状态：0-有效 1-无效
     */
    private Integer authorizationStatus;


}
